|
Repetier-Firmware
1.0.0
|
Go to the source code of this file.
Classes | |
| struct | UIMenuEntry_s |
| struct | UIMenu_s |
| class | UIDisplay |
Macros | |
| #define | NO_DISPLAY 0 |
| #define | DISPLAY_4BIT 1 |
| #define | DISPLAY_8BIT 2 |
| #define | DISPLAY_I2C 3 |
| #define | DISPLAY_ARDUINO_LIB 4 |
| #define | DISPLAY_U8G 5 |
| #define | DISPLAY_GAMEDUINO2 6 |
| #define | DISPLAY_SR 7 |
| #define | UI_ACTION_TOPMENU 8192 |
| #define | UI_ACTION_NO_AUTORETURN 16384 |
| #define | UI_ACTION_NEXT 1 |
| #define | UI_ACTION_PREVIOUS 2 |
| #define | UI_ACTION_X_UP 100 |
| #define | UI_ACTION_X_DOWN 101 |
| #define | UI_ACTION_Y_UP 102 |
| #define | UI_ACTION_Y_DOWN 103 |
| #define | UI_ACTION_Z_UP 104 |
| #define | UI_ACTION_Z_DOWN 105 |
| #define | UI_ACTION_EXTRUDER_UP 106 |
| #define | UI_ACTION_EXTRUDER_DOWN 107 |
| #define | UI_ACTION_EXTRUDER_TEMP_UP 108 |
| #define | UI_ACTION_EXTRUDER_TEMP_DOWN 109 |
| #define | UI_ACTION_HEATED_BED_UP 110 |
| #define | UI_ACTION_HEATED_BED_DOWN 111 |
| #define | UI_ACTION_FAN_UP 112 |
| #define | UI_ACTION_FAN_DOWN 113 |
| #define | UI_ACTION_DUMMY 10000 |
| #define | UI_ACTION_BACK 1000 |
| #define | UI_ACTION_OK 1001 |
| #define | UI_ACTION_MENU_UP 1002 |
| #define | UI_ACTION_TOP_MENU 1003 |
| #define | UI_ACTION_EMERGENCY_STOP 1004 |
| #define | UI_ACTION_XPOSITION 1005 |
| #define | UI_ACTION_YPOSITION 1006 |
| #define | UI_ACTION_ZPOSITION 1007 |
| #define | UI_ACTION_EPOSITION 1008 |
| #define | UI_ACTION_BED_TEMP 1009 |
| #define | UI_ACTION_EXTRUDER_TEMP 1010 |
| #define | UI_ACTION_SD_DELETE 1012 |
| #define | UI_ACTION_SD_PRINT 1013 |
| #define | UI_ACTION_SD_PAUSE 1014 |
| #define | UI_ACTION_SD_CONTINUE 1015 |
| #define | UI_ACTION_SD_UNMOUNT 1016 |
| #define | UI_ACTION_SD_MOUNT 1017 |
| #define | UI_ACTION_XPOSITION_FAST 1018 |
| #define | UI_ACTION_YPOSITION_FAST 1019 |
| #define | UI_ACTION_ZPOSITION_FAST 1020 |
| #define | UI_ACTION_HOME_ALL 1021 |
| #define | UI_ACTION_HOME_X 1022 |
| #define | UI_ACTION_HOME_Y 1023 |
| #define | UI_ACTION_HOME_Z 1024 |
| #define | UI_ACTION_STORE_EEPROM 1030 |
| #define | UI_ACTION_LOAD_EEPROM 1031 |
| #define | UI_ACTION_PRINT_ACCEL_X 1032 |
| #define | UI_ACTION_PRINT_ACCEL_Y 1033 |
| #define | UI_ACTION_PRINT_ACCEL_Z 1034 |
| #define | UI_ACTION_MOVE_ACCEL_X 1035 |
| #define | UI_ACTION_MOVE_ACCEL_Y 1036 |
| #define | UI_ACTION_MOVE_ACCEL_Z 1037 |
| #define | UI_ACTION_MAX_JERK 1038 |
| #define | UI_ACTION_MAX_ZJERK 1039 |
| #define | UI_ACTION_BAUDRATE 1040 |
| #define | UI_ACTION_HOMING_FEEDRATE_X 1041 |
| #define | UI_ACTION_HOMING_FEEDRATE_Y 1042 |
| #define | UI_ACTION_HOMING_FEEDRATE_Z 1043 |
| #define | UI_ACTION_MAX_FEEDRATE_X 1044 |
| #define | UI_ACTION_MAX_FEEDRATE_Y 1045 |
| #define | UI_ACTION_MAX_FEEDRATE_Z 1046 |
| #define | UI_ACTION_STEPS_X 1047 |
| #define | UI_ACTION_STEPS_Y 1048 |
| #define | UI_ACTION_STEPS_Z 1049 |
| #define | UI_ACTION_FAN_OFF 1050 |
| #define | UI_ACTION_FAN_25 1051 |
| #define | UI_ACTION_FAN_50 1052 |
| #define | UI_ACTION_FAN_75 1053 |
| #define | UI_ACTION_FAN_FULL 1054 |
| #define | UI_ACTION_FEEDRATE_MULTIPLY 1055 |
| #define | UI_ACTION_STEPPER_INACTIVE 1056 |
| #define | UI_ACTION_PID_PGAIN 1058 |
| #define | UI_ACTION_PID_IGAIN 1059 |
| #define | UI_ACTION_PID_DGAIN 1060 |
| #define | UI_ACTION_DRIVE_MIN 1061 |
| #define | UI_ACTION_DRIVE_MAX 1062 |
| #define | UI_ACTION_X_OFFSET 1063 |
| #define | UI_ACTION_Y_OFFSET 1064 |
| #define | UI_ACTION_EXTR_STEPS 1065 |
| #define | UI_ACTION_EXTR_ACCELERATION 1066 |
| #define | UI_ACTION_EXTR_MAX_FEEDRATE 1067 |
| #define | UI_ACTION_EXTR_START_FEEDRATE 1068 |
| #define | UI_ACTION_EXTR_HEATMANAGER 1069 |
| #define | UI_ACTION_EXTR_WATCH_PERIOD 1070 |
| #define | UI_ACTION_PID_MAX 1071 |
| #define | UI_ACTION_ADVANCE_K 1072 |
| #define | UI_ACTION_SET_ORIGIN 1073 |
| #define | UI_ACTION_POWER 1078 |
| #define | UI_ACTION_PREHEAT_SINGLE 1079 |
| #define | UI_ACTION_COOLDOWN 1080 |
| #define | UI_ACTION_HEATED_BED_OFF 1081 |
| #define | UI_ACTION_EXTRUDER0_OFF 1082 |
| #define | UI_ACTION_EXTRUDER1_OFF 1083 |
| #define | UI_ACTION_EXTRUDER2_OFF 1084 |
| #define | UI_ACTION_EXTRUDER3_OFF 1085 |
| #define | UI_ACTION_EXTRUDER4_OFF 1086 |
| #define | UI_ACTION_EXTRUDER5_OFF 1087 |
| #define | UI_ACTION_OPS_OFF 1088 |
| #define | UI_ACTION_OPS_CLASSIC 1089 |
| #define | UI_ACTION_OPS_FAST 1090 |
| #define | UI_ACTION_DISABLE_STEPPER 1091 |
| #define | UI_ACTION_RESET_EXTRUDER 1092 |
| #define | UI_ACTION_EXTRUDER_RELATIVE 1093 |
| #define | UI_ACTION_ADVANCE_L 1094 |
| #define | UI_ACTION_PREHEAT_ALL 1095 |
| #define | UI_ACTION_FLOWRATE_MULTIPLY 1096 |
| #define | UI_ACTION_KILL 1097 |
| #define | UI_ACTION_RESET 1098 |
| #define | UI_ACTION_PAUSE 1099 |
| #define | UI_ACTION_EXTR_WAIT_RETRACT_TEMP 1100 |
| #define | UI_ACTION_EXTR_WAIT_RETRACT_UNITS 1101 |
| #define | UI_ACTION_WRITE_DEBUG 1105 |
| #define | UI_ACTION_FANSPEED 1106 |
| #define | UI_ACTION_LIGHTS_ONOFF 1107 |
| #define | UI_ACTION_SD_STOP 1108 |
| #define | UI_ACTION_ZPOSITION_NOTEST 1109 |
| #define | UI_ACTION_ZPOSITION_FAST_NOTEST 1110 |
| #define | UI_ACTION_Z_BABYSTEPS 1111 |
| #define | UI_ACTION_MAX_INACTIVE 1112 |
| #define | UI_ACTION_TEMP_DEFECT 1113 |
| #define | UI_ACTION_BED_HEATMANAGER 1114 |
| #define | UI_ACTION_BED_PGAIN 1115 |
| #define | UI_ACTION_BED_IGAIN 1116 |
| #define | UI_ACTION_BED_DGAIN 1117 |
| #define | UI_ACTION_BED_DRIVE_MIN 1118 |
| #define | UI_ACTION_BED_DRIVE_MAX 1119 |
| #define | UI_ACTION_BED_MAX 1120 |
| #define | UI_ACTION_HEATED_BED_TEMP 1121 |
| #define | UI_ACTION_EXTRUDER0_TEMP 1122 |
| #define | UI_ACTION_EXTRUDER1_TEMP 1123 |
| #define | UI_ACTION_EXTRUDER2_TEMP 1124 |
| #define | UI_ACTION_EXTRUDER3_TEMP 1125 |
| #define | UI_ACTION_EXTRUDER4_TEMP 1126 |
| #define | UI_ACTION_EXTRUDER5_TEMP 1127 |
| #define | UI_ACTION_SELECT_EXTRUDER0 1128 |
| #define | UI_ACTION_SELECT_EXTRUDER1 1129 |
| #define | UI_ACTION_SELECT_EXTRUDER2 1130 |
| #define | UI_ACTION_SELECT_EXTRUDER3 1131 |
| #define | UI_ACTION_SELECT_EXTRUDER4 1132 |
| #define | UI_ACTION_SELECT_EXTRUDER5 1133 |
| #define | UI_DITTO_0 1134 |
| #define | UI_DITTO_1 1135 |
| #define | UI_DITTO_2 1136 |
| #define | UI_DITTO_3 1137 |
| #define | UI_ACTION_DEBUG_ECHO 1150 |
| #define | UI_ACTION_DEBUG_INFO 1151 |
| #define | UI_ACTION_DEBUG_ERROR 1152 |
| #define | UI_ACTION_DEBUG_DRYRUN 1153 |
| #define | UI_ACTION_DEBUG_ENDSTOP 1154 |
| #define | UI_ACTION_SD_PRI_PAU_CONT 1200 |
| #define | UI_ACTION_FAN_SUSPEND 1201 |
| #define | UI_ACTION_AUTOLEVEL_ONOFF 1202 |
| #define | UI_ACTION_SERVOPOS 1203 |
| #define | UI_ACTION_IGNORE_M106 1204 |
| #define | UI_ACTION_KAPTON 1205 |
| #define | UI_ACTION_BLUETAPE 1206 |
| #define | UI_ACTION_NOCOATING 1207 |
| #define | UI_ACTION_PETTAPE 1208 |
| #define | UI_ACTION_GLUESTICK 1209 |
| #define | UI_ACTION_RESET_MATRIX 1210 |
| #define | UI_ACTION_CALIBRATE 1211 |
| #define | UI_ACTION_BED_LED_CHANGE 1212 |
| #define | UI_ACTION_COATING_CUSTOM 1213 |
| #define | UI_ACTION_BUILDTAK 1214 |
| #define | UI_ACTION_CONTINUE 1220 |
| #define | UI_ACTION_STOP 1221 |
| #define | UI_ACTION_STOP_CONFIRMED 1222 |
| #define | UI_ACTION_FAN2SPEED 1223 |
| #define | UI_ACTION_AUTOLEVEL 1224 |
| #define | UI_ACTION_MEASURE_DISTORTION 1225 |
| #define | UI_ACTION_TOGGLE_DISTORTION 1226 |
| #define | UI_ACTION_MESSAGE 1227 |
| #define | UI_ACTION_STATE 1228 |
| #define | UI_ACTION_AUTOLEVEL2 1229 |
| #define | UI_ACTION_MEASURE_DISTORTION2 1230 |
| #define | UI_ACTION_BED_PREHEAT 1231 |
| #define | UI_ACTION_EXT0_PREHEAT 1232 |
| #define | UI_ACTION_EXT1_PREHEAT 1233 |
| #define | UI_ACTION_EXT2_PREHEAT 1234 |
| #define | UI_ACTION_EXT3_PREHEAT 1235 |
| #define | UI_ACTION_EXT4_PREHEAT 1236 |
| #define | UI_ACTION_EXT5_PREHEAT 1237 |
| #define | UI_ACTION_MEASURE_ZPROBE_HEIGHT 1238 |
| #define | UI_ACTION_MEASURE_ZPROBE_HEIGHT2 1239 |
| #define | UI_ACTION_MEASURE_ZP_REALZ 1240 |
| #define | UI_ACTION_Z_OFFSET 1241 |
| #define | UI_ACTION_TOGGLE_JAMCONTROL 1242 |
| #define | UI_ACTION_LANGUAGE_EN 1700 |
| #define | UI_ACTION_LANGUAGE_DE 1701 |
| #define | UI_ACTION_LANGUAGE_NL 1702 |
| #define | UI_ACTION_LANGUAGE_PT 1703 |
| #define | UI_ACTION_LANGUAGE_IT 1704 |
| #define | UI_ACTION_LANGUAGE_ES 1705 |
| #define | UI_ACTION_LANGUAGE_SE 1706 |
| #define | UI_ACTION_LANGUAGE_FR 1707 |
| #define | UI_ACTION_LANGUAGE_CZ 1708 |
| #define | UI_ACTION_LANGUAGE_PL 1709 |
| #define | UI_ACTION_LANGUAGE_TR 1710 |
| #define | UI_ACTION_LANGUAGE_FI 1711 |
| #define | UI_ACTION_MENU_XPOS 4000 |
| #define | UI_ACTION_MENU_YPOS 4001 |
| #define | UI_ACTION_MENU_ZPOS 4002 |
| #define | UI_ACTION_MENU_XPOSFAST 4003 |
| #define | UI_ACTION_MENU_YPOSFAST 4004 |
| #define | UI_ACTION_MENU_ZPOSFAST 4005 |
| #define | UI_ACTION_MENU_SDCARD 4006 |
| #define | UI_ACTION_MENU_QUICKSETTINGS 4007 |
| #define | UI_ACTION_MENU_EXTRUDER 4008 |
| #define | UI_ACTION_MENU_POSITIONS 4009 |
| #define | UI_ACTION_SET_MEASURED_ORIGIN 4012 |
| #define | UI_ACTION_SET_P1 4013 |
| #define | UI_ACTION_SET_P2 4014 |
| #define | UI_ACTION_SET_P3 4015 |
| #define | UI_ACTION_CALC_LEVEL 4016 |
| #define | UI_ACTION_XOFF 4020 |
| #define | UI_ACTION_YOFF 4021 |
| #define | UI_ACTION_ZOFF 4022 |
| #define | UI_ACTION_SHOW_USERMENU1 4101 |
| #define | UI_ACTION_SHOW_USERMENU2 4102 |
| #define | UI_ACTION_SHOW_USERMENU3 4103 |
| #define | UI_ACTION_SHOW_USERMENU4 4104 |
| #define | UI_ACTION_SHOW_USERMENU5 4105 |
| #define | UI_ACTION_SHOW_USERMENU6 4106 |
| #define | UI_ACTION_SHOW_USERMENU7 4107 |
| #define | UI_ACTION_SHOW_USERMENU8 4108 |
| #define | UI_ACTION_SHOW_USERMENU9 4109 |
| #define | UI_ACTION_SHOW_USERMENU10 4110 |
| #define | UI_ACTION_WIZARD_FILAMENTCHANGE 5000 |
| #define | UI_ACTION_WIZARD_JAM_REHEAT 5001 |
| #define | UI_ACTION_WIZARD_JAM_WAITHEAT 5002 |
| #define | UI_ACTION_WIZARD_JAM_EOF 5003 |
| #define | UI_MENU_TYPE_INFO 0 |
| #define | UI_MENU_TYPE_FILE_SELECTOR 1 |
| #define | UI_MENU_TYPE_SUBMENU 2 |
| #define | UI_MENU_TYPE_MODIFICATION_MENU 3 |
| #define | UI_MENU_TYPE_WIZARD 5 |
| #define | UI_KEYS_INIT_CLICKENCODER_LOW(pinA, pinB) SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,HIGH);PULLUP(pinB,HIGH); |
| #define | UI_KEYS_INIT_BUTTON_LOW(pin) SET_INPUT(pin);PULLUP(pin,HIGH); |
| #define | UI_KEYS_INIT_CLICKENCODER_HIGH(pinA, pinB) SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,LOW);PULLUP(pinB,LOW); |
| #define | UI_KEYS_INIT_BUTTON_HIGH(pin) SET_INPUT(pin);PULLUP(pin,LOW); |
| #define | UI_KEYS_CLICKENCODER_LOW(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_CLICKENCODER_LOW_REV(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_BUTTON_LOW(pin, action_) if(READ(pin)==0) action=action_; |
| #define | UI_KEYS_CLICKENCODER_HIGH(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (READ(pinA)) uid.encoderLast |=2;if (READ(pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_CLICKENCODER_HIGH_REV(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (READ(pinA)) uid.encoderLast |=2;if (READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_BUTTON_HIGH(pin, action_) if(READ(pin)!=0) action=action_; |
| #define | UI_KEYS_INIT_MATRIX(r1, r2, r3, r4, c1, c2, c3, c4) |
| #define | UI_KEYS_MATRIX(r1, r2, r3, r4, c1, c2, c3, c4) |
| #define | UI_KEYS_I2C_CLICKENCODER_LOW(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!(keymask & pinA)) uid.encoderLast |=2;if (!(keymask & pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_I2C_CLICKENCODER_LOW_REV(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!(keymask & pinA)) uid.encoderLast |=2;if (!(keymask & pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_I2C_BUTTON_LOW(pin, action_) if((keymask & pin)==0) action=action_; |
| #define | UI_KEYS_I2C_CLICKENCODER_HIGH(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (keymask & pinA) uid.encoderLast |=2;if (keymask & pinB) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_I2C_CLICKENCODER_HIGH_REV(pinA, pinB) uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (keymask & pinA) uid.encoderLast |=2;if (keymask & pinB) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define | UI_KEYS_I2C_BUTTON_HIGH(pin, action_) if((pin & keymask) != 0) action=action_; |
| #define | UI_STRING(name, text) const char PROGMEM name[] = text |
| #define | UI_PAGE6(name, row1, row2, row3, row4, row5, row6) |
| #define | UI_PAGE6_T(name, row1, row2, row3, row4, row5, row6) |
| #define | UI_PAGE4(name, row1, row2, row3, row4) |
| #define | UI_PAGE4_T(name, row1, row2, row3, row4) |
| #define | UI_PAGE2(name, row1, row2) |
| #define | UI_PAGE2_T(name, row1, row2) |
| #define | UI_WIZARD4(name, action, row1, row2, row3, row4) |
| #define | UI_WIZARD4_T(name, action, row1, row2, row3, row4) |
| #define | UI_WIZARD5_T(name, action, row1, row2, row3, row4, row5) |
| #define | UI_WIZARD2(name, action, row1, row2) |
| #define | UI_WIZARD2_T(name, action, row1, row2) |
| #define | UI_MENU_ACTION4C(name, action, rows) UI_MENU_ACTION4(name,action,rows) |
| #define | UI_MENU_ACTION2C(name, action, rows) UI_MENU_ACTION2(name,action,rows) |
| #define | UI_MENU_ACTION4C_T(name, action, rows) UI_MENU_ACTION4_T(name,action,rows) |
| #define | UI_MENU_ACTION2C_T(name, action, rows) UI_MENU_ACTION2_T(name,action,rows) |
| #define | UI_MENU_ACTION4(name, action, row1, row2, row3, row4) |
| #define | UI_MENU_ACTION4_T(name, action, row1, row2, row3, row4) |
| #define | UI_MENU_ACTION2(name, action, row1, row2) |
| #define | UI_MENU_ACTION2_T(name, action, row1, row2) |
| #define | UI_MENU_HEADLINE(name, text) UI_STRING(name ## _txt,text);UIMenuEntry name PROGMEM = {name ## _txt,1,0,0,0,0}; |
| #define | UI_MENU_HEADLINE_T(name, text) UIMenuEntry name PROGMEM = {0,1,0,0,0,text}; |
| #define | UI_MENU_CHANGEACTION(name, row, action) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,4,action,0,0,0}; |
| #define | UI_MENU_CHANGEACTION_T(name, row, action) UIMenuEntry name PROGMEM = {0,4,action,0,0,row}; |
| #define | UI_MENU_ACTIONCOMMAND(name, row, action) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,3,action,0,0,0}; |
| #define | UI_MENU_ACTIONCOMMAND_T(name, rowId, action) UIMenuEntry name PROGMEM = {0,3,action,0,0,rowId}; |
| #define | UI_MENU_ACTIONSELECTOR(name, row, entries) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,0,0,0}; |
| #define | UI_MENU_ACTIONSELECTOR_T(name, row, entries) UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,0,0,row}; |
| #define | UI_MENU_SUBMENU(name, row, entries) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,0,0,0}; |
| #define | UI_MENU_SUBMENU_T(name, row, entries) UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,0,0,row}; |
| #define | UI_MENU_WIZARD(name, row, entries) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,5,(unsigned int)&entries,0,0,0}; |
| #define | UI_MENU_WIZARD_T(name, row, entries) UIMenuEntry name PROGMEM = {0,5,(unsigned int)&entries,0,0,row}; |
| #define | UI_MENU_CHANGEACTION_FILTER(name, row, action, filter, nofilter) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,4,action,filter,nofilter,0}; |
| #define | UI_MENU_CHANGEACTION_FILTER_T(name, row, action, filter, nofilter) UIMenuEntry name PROGMEM = {0,4,action,filter,nofilter,row}; |
| #define | UI_MENU_ACTIONCOMMAND_FILTER(name, row, action, filter, nofilter) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,3,action,filter,nofilter,0}; |
| #define | UI_MENU_ACTIONCOMMAND_FILTER_T(name, row, action, filter, nofilter) UIMenuEntry name PROGMEM = {0,3,action,filter,nofilter,row}; |
| #define | UI_MENU_ACTIONSELECTOR_FILTER(name, row, entries, filter, nofilter) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,filter,nofilter,0}; |
| #define | UI_MENU_ACTIONSELECTOR_FILTER_T(name, row, entries, filter, nofilter) UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,filter,nofilter,row}; |
| #define | UI_MENU_SUBMENU_FILTER(name, row, entries, filter, nofilter) UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,filter,nofilter,0}; |
| #define | UI_MENU_SUBMENU_FILTER_T(name, row, entries, filter, nofilter) UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,filter,nofilter,row}; |
| #define | UI_MENU(name, items, itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries}; |
| #define | UI_STICKYMENU(name, items, itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2+128,0,itemsCnt,name ## _entries}; |
| #define | UI_MENU_FILESELECT(name, items, itemsCnt) const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {1,0,itemsCnt,name ## _entries}; |
| #define | SDCARDDETECT 49 |
| #define | SDCARDDETECTINVERTED 0 |
| #define | SDSUPPORT 1 |
| #define | SDCARDDETECT -1 |
| #define | SDSUPPORT 1 |
| #define | SDCARDDETECT 81 |
| #define | SDCARDDETECTINVERTED 0 |
| #define | SDSUPPORT 1 |
| #define | MAX_COLS 28 |
| #define | UI_MENU_MAXLEVEL 7 |
| #define | UI_FLAG_FAST_KEY_ACTION 1 |
| #define | UI_FLAG_SLOW_KEY_ACTION 2 |
| #define | UI_FLAG_SLOW_ACTION_RUNNING 4 |
| #define | UI_FLAG_KEY_TEST_RUNNING 8 |
Typedefs | |
| typedef const UIMenuEntry_s | UIMenuEntry |
| typedef const UIMenu_s | UIMenu |
Variables | |
| const int8_t encoder_table [16] | PROGMEM |
| UIDisplay | uid |
| #define DISPLAY_4BIT 1 |
| #define DISPLAY_8BIT 2 |
| #define DISPLAY_ARDUINO_LIB 4 |
| #define DISPLAY_GAMEDUINO2 6 |
| #define DISPLAY_I2C 3 |
| #define DISPLAY_SR 7 |
| #define DISPLAY_U8G 5 |
| #define MAX_COLS 28 |
| #define NO_DISPLAY 0 |
| #define SDCARDDETECT 49 |
| #define SDCARDDETECT -1 |
| #define SDCARDDETECT 81 |
| #define SDCARDDETECTINVERTED 0 |
| #define SDCARDDETECTINVERTED 0 |
| #define SDSUPPORT 1 |
| #define SDSUPPORT 1 |
| #define SDSUPPORT 1 |
| #define UI_ACTION_ADVANCE_K 1072 |
| #define UI_ACTION_ADVANCE_L 1094 |
| #define UI_ACTION_AUTOLEVEL 1224 |
| #define UI_ACTION_AUTOLEVEL2 1229 |
| #define UI_ACTION_AUTOLEVEL_ONOFF 1202 |
| #define UI_ACTION_BACK 1000 |
| #define UI_ACTION_BAUDRATE 1040 |
| #define UI_ACTION_BED_DGAIN 1117 |
| #define UI_ACTION_BED_DRIVE_MAX 1119 |
| #define UI_ACTION_BED_DRIVE_MIN 1118 |
| #define UI_ACTION_BED_HEATMANAGER 1114 |
| #define UI_ACTION_BED_IGAIN 1116 |
| #define UI_ACTION_BED_LED_CHANGE 1212 |
| #define UI_ACTION_BED_MAX 1120 |
| #define UI_ACTION_BED_PGAIN 1115 |
| #define UI_ACTION_BED_PREHEAT 1231 |
| #define UI_ACTION_BED_TEMP 1009 |
| #define UI_ACTION_BLUETAPE 1206 |
| #define UI_ACTION_BUILDTAK 1214 |
| #define UI_ACTION_CALC_LEVEL 4016 |
| #define UI_ACTION_CALIBRATE 1211 |
| #define UI_ACTION_COATING_CUSTOM 1213 |
| #define UI_ACTION_CONTINUE 1220 |
| #define UI_ACTION_COOLDOWN 1080 |
| #define UI_ACTION_DEBUG_DRYRUN 1153 |
| #define UI_ACTION_DEBUG_ECHO 1150 |
| #define UI_ACTION_DEBUG_ENDSTOP 1154 |
| #define UI_ACTION_DEBUG_ERROR 1152 |
| #define UI_ACTION_DEBUG_INFO 1151 |
| #define UI_ACTION_DISABLE_STEPPER 1091 |
| #define UI_ACTION_DRIVE_MAX 1062 |
| #define UI_ACTION_DRIVE_MIN 1061 |
| #define UI_ACTION_DUMMY 10000 |
| #define UI_ACTION_EMERGENCY_STOP 1004 |
| #define UI_ACTION_EPOSITION 1008 |
| #define UI_ACTION_EXT0_PREHEAT 1232 |
| #define UI_ACTION_EXT1_PREHEAT 1233 |
| #define UI_ACTION_EXT2_PREHEAT 1234 |
| #define UI_ACTION_EXT3_PREHEAT 1235 |
| #define UI_ACTION_EXT4_PREHEAT 1236 |
| #define UI_ACTION_EXT5_PREHEAT 1237 |
| #define UI_ACTION_EXTR_ACCELERATION 1066 |
| #define UI_ACTION_EXTR_HEATMANAGER 1069 |
| #define UI_ACTION_EXTR_MAX_FEEDRATE 1067 |
| #define UI_ACTION_EXTR_START_FEEDRATE 1068 |
| #define UI_ACTION_EXTR_STEPS 1065 |
| #define UI_ACTION_EXTR_WAIT_RETRACT_TEMP 1100 |
| #define UI_ACTION_EXTR_WAIT_RETRACT_UNITS 1101 |
| #define UI_ACTION_EXTR_WATCH_PERIOD 1070 |
| #define UI_ACTION_EXTRUDER0_OFF 1082 |
| #define UI_ACTION_EXTRUDER0_TEMP 1122 |
| #define UI_ACTION_EXTRUDER1_OFF 1083 |
| #define UI_ACTION_EXTRUDER1_TEMP 1123 |
| #define UI_ACTION_EXTRUDER2_OFF 1084 |
| #define UI_ACTION_EXTRUDER2_TEMP 1124 |
| #define UI_ACTION_EXTRUDER3_OFF 1085 |
| #define UI_ACTION_EXTRUDER3_TEMP 1125 |
| #define UI_ACTION_EXTRUDER4_OFF 1086 |
| #define UI_ACTION_EXTRUDER4_TEMP 1126 |
| #define UI_ACTION_EXTRUDER5_OFF 1087 |
| #define UI_ACTION_EXTRUDER5_TEMP 1127 |
| #define UI_ACTION_EXTRUDER_DOWN 107 |
| #define UI_ACTION_EXTRUDER_RELATIVE 1093 |
| #define UI_ACTION_EXTRUDER_TEMP 1010 |
| #define UI_ACTION_EXTRUDER_TEMP_DOWN 109 |
| #define UI_ACTION_EXTRUDER_TEMP_UP 108 |
| #define UI_ACTION_EXTRUDER_UP 106 |
| #define UI_ACTION_FAN2SPEED 1223 |
| #define UI_ACTION_FAN_25 1051 |
| #define UI_ACTION_FAN_50 1052 |
| #define UI_ACTION_FAN_75 1053 |
| #define UI_ACTION_FAN_DOWN 113 |
| #define UI_ACTION_FAN_FULL 1054 |
| #define UI_ACTION_FAN_OFF 1050 |
| #define UI_ACTION_FAN_SUSPEND 1201 |
| #define UI_ACTION_FAN_UP 112 |
| #define UI_ACTION_FANSPEED 1106 |
| #define UI_ACTION_FEEDRATE_MULTIPLY 1055 |
| #define UI_ACTION_FLOWRATE_MULTIPLY 1096 |
| #define UI_ACTION_GLUESTICK 1209 |
| #define UI_ACTION_HEATED_BED_DOWN 111 |
| #define UI_ACTION_HEATED_BED_OFF 1081 |
| #define UI_ACTION_HEATED_BED_TEMP 1121 |
| #define UI_ACTION_HEATED_BED_UP 110 |
| #define UI_ACTION_HOME_ALL 1021 |
| #define UI_ACTION_HOME_X 1022 |
| #define UI_ACTION_HOME_Y 1023 |
| #define UI_ACTION_HOME_Z 1024 |
| #define UI_ACTION_HOMING_FEEDRATE_X 1041 |
| #define UI_ACTION_HOMING_FEEDRATE_Y 1042 |
| #define UI_ACTION_HOMING_FEEDRATE_Z 1043 |
| #define UI_ACTION_IGNORE_M106 1204 |
| #define UI_ACTION_KAPTON 1205 |
| #define UI_ACTION_KILL 1097 |
| #define UI_ACTION_LANGUAGE_CZ 1708 |
| #define UI_ACTION_LANGUAGE_DE 1701 |
| #define UI_ACTION_LANGUAGE_EN 1700 |
| #define UI_ACTION_LANGUAGE_ES 1705 |
| #define UI_ACTION_LANGUAGE_FI 1711 |
| #define UI_ACTION_LANGUAGE_FR 1707 |
| #define UI_ACTION_LANGUAGE_IT 1704 |
| #define UI_ACTION_LANGUAGE_NL 1702 |
| #define UI_ACTION_LANGUAGE_PL 1709 |
| #define UI_ACTION_LANGUAGE_PT 1703 |
| #define UI_ACTION_LANGUAGE_SE 1706 |
| #define UI_ACTION_LANGUAGE_TR 1710 |
| #define UI_ACTION_LIGHTS_ONOFF 1107 |
| #define UI_ACTION_LOAD_EEPROM 1031 |
| #define UI_ACTION_MAX_FEEDRATE_X 1044 |
| #define UI_ACTION_MAX_FEEDRATE_Y 1045 |
| #define UI_ACTION_MAX_FEEDRATE_Z 1046 |
| #define UI_ACTION_MAX_INACTIVE 1112 |
| #define UI_ACTION_MAX_JERK 1038 |
| #define UI_ACTION_MAX_ZJERK 1039 |
| #define UI_ACTION_MEASURE_DISTORTION 1225 |
| #define UI_ACTION_MEASURE_DISTORTION2 1230 |
| #define UI_ACTION_MEASURE_ZP_REALZ 1240 |
| #define UI_ACTION_MEASURE_ZPROBE_HEIGHT 1238 |
| #define UI_ACTION_MEASURE_ZPROBE_HEIGHT2 1239 |
| #define UI_ACTION_MENU_EXTRUDER 4008 |
| #define UI_ACTION_MENU_POSITIONS 4009 |
| #define UI_ACTION_MENU_QUICKSETTINGS 4007 |
| #define UI_ACTION_MENU_SDCARD 4006 |
| #define UI_ACTION_MENU_UP 1002 |
| #define UI_ACTION_MENU_XPOS 4000 |
| #define UI_ACTION_MENU_XPOSFAST 4003 |
| #define UI_ACTION_MENU_YPOS 4001 |
| #define UI_ACTION_MENU_YPOSFAST 4004 |
| #define UI_ACTION_MENU_ZPOS 4002 |
| #define UI_ACTION_MENU_ZPOSFAST 4005 |
| #define UI_ACTION_MESSAGE 1227 |
| #define UI_ACTION_MOVE_ACCEL_X 1035 |
| #define UI_ACTION_MOVE_ACCEL_Y 1036 |
| #define UI_ACTION_MOVE_ACCEL_Z 1037 |
| #define UI_ACTION_NEXT 1 |
| #define UI_ACTION_NO_AUTORETURN 16384 |
| #define UI_ACTION_NOCOATING 1207 |
| #define UI_ACTION_OK 1001 |
| #define UI_ACTION_OPS_CLASSIC 1089 |
| #define UI_ACTION_OPS_FAST 1090 |
| #define UI_ACTION_OPS_OFF 1088 |
| #define UI_ACTION_PAUSE 1099 |
| #define UI_ACTION_PETTAPE 1208 |
| #define UI_ACTION_PID_DGAIN 1060 |
| #define UI_ACTION_PID_IGAIN 1059 |
| #define UI_ACTION_PID_MAX 1071 |
| #define UI_ACTION_PID_PGAIN 1058 |
| #define UI_ACTION_POWER 1078 |
| #define UI_ACTION_PREHEAT_ALL 1095 |
| #define UI_ACTION_PREHEAT_SINGLE 1079 |
| #define UI_ACTION_PREVIOUS 2 |
| #define UI_ACTION_PRINT_ACCEL_X 1032 |
| #define UI_ACTION_PRINT_ACCEL_Y 1033 |
| #define UI_ACTION_PRINT_ACCEL_Z 1034 |
| #define UI_ACTION_RESET 1098 |
| #define UI_ACTION_RESET_EXTRUDER 1092 |
| #define UI_ACTION_RESET_MATRIX 1210 |
| #define UI_ACTION_SD_CONTINUE 1015 |
| #define UI_ACTION_SD_DELETE 1012 |
| #define UI_ACTION_SD_MOUNT 1017 |
| #define UI_ACTION_SD_PAUSE 1014 |
| #define UI_ACTION_SD_PRI_PAU_CONT 1200 |
| #define UI_ACTION_SD_PRINT 1013 |
| #define UI_ACTION_SD_STOP 1108 |
| #define UI_ACTION_SD_UNMOUNT 1016 |
| #define UI_ACTION_SELECT_EXTRUDER0 1128 |
| #define UI_ACTION_SELECT_EXTRUDER1 1129 |
| #define UI_ACTION_SELECT_EXTRUDER2 1130 |
| #define UI_ACTION_SELECT_EXTRUDER3 1131 |
| #define UI_ACTION_SELECT_EXTRUDER4 1132 |
| #define UI_ACTION_SELECT_EXTRUDER5 1133 |
| #define UI_ACTION_SERVOPOS 1203 |
| #define UI_ACTION_SET_MEASURED_ORIGIN 4012 |
| #define UI_ACTION_SET_ORIGIN 1073 |
| #define UI_ACTION_SET_P1 4013 |
| #define UI_ACTION_SET_P2 4014 |
| #define UI_ACTION_SET_P3 4015 |
| #define UI_ACTION_SHOW_USERMENU1 4101 |
| #define UI_ACTION_SHOW_USERMENU10 4110 |
| #define UI_ACTION_SHOW_USERMENU2 4102 |
| #define UI_ACTION_SHOW_USERMENU3 4103 |
| #define UI_ACTION_SHOW_USERMENU4 4104 |
| #define UI_ACTION_SHOW_USERMENU5 4105 |
| #define UI_ACTION_SHOW_USERMENU6 4106 |
| #define UI_ACTION_SHOW_USERMENU7 4107 |
| #define UI_ACTION_SHOW_USERMENU8 4108 |
| #define UI_ACTION_SHOW_USERMENU9 4109 |
| #define UI_ACTION_STATE 1228 |
| #define UI_ACTION_STEPPER_INACTIVE 1056 |
| #define UI_ACTION_STEPS_X 1047 |
| #define UI_ACTION_STEPS_Y 1048 |
| #define UI_ACTION_STEPS_Z 1049 |
| #define UI_ACTION_STOP 1221 |
| #define UI_ACTION_STOP_CONFIRMED 1222 |
| #define UI_ACTION_STORE_EEPROM 1030 |
| #define UI_ACTION_TEMP_DEFECT 1113 |
| #define UI_ACTION_TOGGLE_DISTORTION 1226 |
| #define UI_ACTION_TOGGLE_JAMCONTROL 1242 |
| #define UI_ACTION_TOP_MENU 1003 |
| #define UI_ACTION_TOPMENU 8192 |
What display type do you use? 0 = No display 1 = LCD Display with 4 bit data bus 2 = LCD Display with 8 bit data bus (currently not implemented, fallback to 1) 3 = LCD Display with I2C connection, 4 bit mode 4 = Use the slower LiquiedCrystal library bundled with arduino. IMPORTANT: You need to uncomment the LiquidCrystal include in Repetier.pde for it to work. If you have Sanguino and want to use the library, you need to have Arduino 023 or older. (13.04.2012) 5 = U8G supported display 6 = Gameduino2 display 7 = LCD Display via shift register (2 or 3 wire connection: DATA/EN, CLOCK, ENABLE/-1)
| #define UI_ACTION_WIZARD_FILAMENTCHANGE 5000 |
| #define UI_ACTION_WIZARD_JAM_EOF 5003 |
| #define UI_ACTION_WIZARD_JAM_REHEAT 5001 |
| #define UI_ACTION_WIZARD_JAM_WAITHEAT 5002 |
| #define UI_ACTION_WRITE_DEBUG 1105 |
| #define UI_ACTION_X_DOWN 101 |
| #define UI_ACTION_X_OFFSET 1063 |
| #define UI_ACTION_X_UP 100 |
| #define UI_ACTION_XOFF 4020 |
| #define UI_ACTION_XPOSITION 1005 |
| #define UI_ACTION_XPOSITION_FAST 1018 |
| #define UI_ACTION_Y_DOWN 103 |
| #define UI_ACTION_Y_OFFSET 1064 |
| #define UI_ACTION_Y_UP 102 |
| #define UI_ACTION_YOFF 4021 |
| #define UI_ACTION_YPOSITION 1006 |
| #define UI_ACTION_YPOSITION_FAST 1019 |
| #define UI_ACTION_Z_BABYSTEPS 1111 |
| #define UI_ACTION_Z_DOWN 105 |
| #define UI_ACTION_Z_OFFSET 1241 |
| #define UI_ACTION_Z_UP 104 |
| #define UI_ACTION_ZOFF 4022 |
| #define UI_ACTION_ZPOSITION 1007 |
| #define UI_ACTION_ZPOSITION_FAST 1020 |
| #define UI_ACTION_ZPOSITION_FAST_NOTEST 1110 |
| #define UI_ACTION_ZPOSITION_NOTEST 1109 |
| #define UI_DITTO_0 1134 |
| #define UI_DITTO_1 1135 |
| #define UI_DITTO_2 1136 |
| #define UI_DITTO_3 1137 |
| #define UI_FLAG_FAST_KEY_ACTION 1 |
| #define UI_FLAG_KEY_TEST_RUNNING 8 |
| #define UI_FLAG_SLOW_ACTION_RUNNING 4 |
| #define UI_FLAG_SLOW_KEY_ACTION 2 |
| #define UI_KEYS_BUTTON_HIGH | ( | pin, | |
| action_ | |||
| ) | if(READ(pin)!=0) action=action_; |
| #define UI_KEYS_BUTTON_LOW | ( | pin, | |
| action_ | |||
| ) | if(READ(pin)==0) action=action_; |
| #define UI_KEYS_CLICKENCODER_HIGH | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (READ(pinA)) uid.encoderLast |=2;if (READ(pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_CLICKENCODER_HIGH_REV | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (READ(pinA)) uid.encoderLast |=2;if (READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_CLICKENCODER_LOW | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_CLICKENCODER_LOW_REV | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!READ(pinA)) uid.encoderLast |=2;if (!READ(pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_I2C_BUTTON_HIGH | ( | pin, | |
| action_ | |||
| ) | if((pin & keymask) != 0) action=action_; |
| #define UI_KEYS_I2C_BUTTON_LOW | ( | pin, | |
| action_ | |||
| ) | if((keymask & pin)==0) action=action_; |
| #define UI_KEYS_I2C_CLICKENCODER_HIGH | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (keymask & pinA) uid.encoderLast |=2;if (keymask & pinB) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_I2C_CLICKENCODER_HIGH_REV | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (keymask & pinA) uid.encoderLast |=2;if (keymask & pinB) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_I2C_CLICKENCODER_LOW | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!(keymask & pinA)) uid.encoderLast |=2;if (!(keymask & pinB)) uid.encoderLast |=1; uid.encoderPos += pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_I2C_CLICKENCODER_LOW_REV | ( | pinA, | |
| pinB | |||
| ) | uid.encoderLast = (uid.encoderLast << 2) & 0x0F;if (!(keymask & pinA)) uid.encoderLast |=2;if (!(keymask & pinB)) uid.encoderLast |=1; uid.encoderPos -= pgm_read_byte(&encoder_table[uid.encoderLast]); |
| #define UI_KEYS_INIT_CLICKENCODER_HIGH | ( | pinA, | |
| pinB | |||
| ) | SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,LOW);PULLUP(pinB,LOW); |
| #define UI_KEYS_INIT_CLICKENCODER_LOW | ( | pinA, | |
| pinB | |||
| ) | SET_INPUT(pinA);SET_INPUT(pinB); PULLUP(pinA,HIGH);PULLUP(pinB,HIGH); |
| #define UI_KEYS_INIT_MATRIX | ( | r1, | |
| r2, | |||
| r3, | |||
| r4, | |||
| c1, | |||
| c2, | |||
| c3, | |||
| c4 | |||
| ) |
| #define UI_KEYS_MATRIX | ( | r1, | |
| r2, | |||
| r3, | |||
| r4, | |||
| c1, | |||
| c2, | |||
| c3, | |||
| c4 | |||
| ) |
| #define UI_MENU | ( | name, | |
| items, | |||
| itemsCnt | |||
| ) | const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2,0,itemsCnt,name ## _entries}; |
| #define UI_MENU_ACTION2 | ( | name, | |
| action, | |||
| row1, | |||
| row2 | |||
| ) |
| #define UI_MENU_ACTION2_T | ( | name, | |
| action, | |||
| row1, | |||
| row2 | |||
| ) |
| #define UI_MENU_ACTION2C | ( | name, | |
| action, | |||
| rows | |||
| ) | UI_MENU_ACTION2(name,action,rows) |
| #define UI_MENU_ACTION2C_T | ( | name, | |
| action, | |||
| rows | |||
| ) | UI_MENU_ACTION2_T(name,action,rows) |
| #define UI_MENU_ACTION4 | ( | name, | |
| action, | |||
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_MENU_ACTION4_T | ( | name, | |
| action, | |||
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_MENU_ACTION4C | ( | name, | |
| action, | |||
| rows | |||
| ) | UI_MENU_ACTION4(name,action,rows) |
| #define UI_MENU_ACTION4C_T | ( | name, | |
| action, | |||
| rows | |||
| ) | UI_MENU_ACTION4_T(name,action,rows) |
| #define UI_MENU_ACTIONCOMMAND | ( | name, | |
| row, | |||
| action | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,3,action,0,0,0}; |
| #define UI_MENU_ACTIONCOMMAND_FILTER | ( | name, | |
| row, | |||
| action, | |||
| filter, | |||
| nofilter | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,3,action,filter,nofilter,0}; |
| #define UI_MENU_ACTIONCOMMAND_FILTER_T | ( | name, | |
| row, | |||
| action, | |||
| filter, | |||
| nofilter | |||
| ) | UIMenuEntry name PROGMEM = {0,3,action,filter,nofilter,row}; |
| #define UI_MENU_ACTIONCOMMAND_T | ( | name, | |
| rowId, | |||
| action | |||
| ) | UIMenuEntry name PROGMEM = {0,3,action,0,0,rowId}; |
| #define UI_MENU_ACTIONSELECTOR | ( | name, | |
| row, | |||
| entries | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,0,0,0}; |
| #define UI_MENU_ACTIONSELECTOR_FILTER | ( | name, | |
| row, | |||
| entries, | |||
| filter, | |||
| nofilter | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,filter,nofilter,0}; |
| #define UI_MENU_ACTIONSELECTOR_FILTER_T | ( | name, | |
| row, | |||
| entries, | |||
| filter, | |||
| nofilter | |||
| ) | UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,filter,nofilter,row}; |
| #define UI_MENU_ACTIONSELECTOR_T | ( | name, | |
| row, | |||
| entries | |||
| ) | UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,0,0,row}; |
| #define UI_MENU_CHANGEACTION | ( | name, | |
| row, | |||
| action | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,4,action,0,0,0}; |
| #define UI_MENU_CHANGEACTION_FILTER | ( | name, | |
| row, | |||
| action, | |||
| filter, | |||
| nofilter | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,4,action,filter,nofilter,0}; |
| #define UI_MENU_CHANGEACTION_FILTER_T | ( | name, | |
| row, | |||
| action, | |||
| filter, | |||
| nofilter | |||
| ) | UIMenuEntry name PROGMEM = {0,4,action,filter,nofilter,row}; |
| #define UI_MENU_CHANGEACTION_T | ( | name, | |
| row, | |||
| action | |||
| ) | UIMenuEntry name PROGMEM = {0,4,action,0,0,row}; |
| #define UI_MENU_FILESELECT | ( | name, | |
| items, | |||
| itemsCnt | |||
| ) | const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {1,0,itemsCnt,name ## _entries}; |
| #define UI_MENU_HEADLINE | ( | name, | |
| text | |||
| ) | UI_STRING(name ## _txt,text);UIMenuEntry name PROGMEM = {name ## _txt,1,0,0,0,0}; |
| #define UI_MENU_HEADLINE_T | ( | name, | |
| text | |||
| ) | UIMenuEntry name PROGMEM = {0,1,0,0,0,text}; |
| #define UI_MENU_MAXLEVEL 7 |
| #define UI_MENU_SUBMENU | ( | name, | |
| row, | |||
| entries | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,0,0,0}; |
| #define UI_MENU_SUBMENU_FILTER | ( | name, | |
| row, | |||
| entries, | |||
| filter, | |||
| nofilter | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,2,(unsigned int)&entries,filter,nofilter,0}; |
| #define UI_MENU_SUBMENU_FILTER_T | ( | name, | |
| row, | |||
| entries, | |||
| filter, | |||
| nofilter | |||
| ) | UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,filter,nofilter,row}; |
| #define UI_MENU_SUBMENU_T | ( | name, | |
| row, | |||
| entries | |||
| ) | UIMenuEntry name PROGMEM = {0,2,(unsigned int)&entries,0,0,row}; |
| #define UI_MENU_TYPE_FILE_SELECTOR 1 |
| #define UI_MENU_TYPE_INFO 0 |
| #define UI_MENU_TYPE_MODIFICATION_MENU 3 |
| #define UI_MENU_TYPE_SUBMENU 2 |
| #define UI_MENU_TYPE_WIZARD 5 |
| #define UI_MENU_WIZARD | ( | name, | |
| row, | |||
| entries | |||
| ) | UI_STRING(name ## _txt,row);UIMenuEntry name PROGMEM = {name ## _txt,5,(unsigned int)&entries,0,0,0}; |
| #define UI_MENU_WIZARD_T | ( | name, | |
| row, | |||
| entries | |||
| ) | UIMenuEntry name PROGMEM = {0,5,(unsigned int)&entries,0,0,row}; |
| #define UI_PAGE2 | ( | name, | |
| row1, | |||
| row2 | |||
| ) |
| #define UI_PAGE2_T | ( | name, | |
| row1, | |||
| row2 | |||
| ) |
| #define UI_PAGE4 | ( | name, | |
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_PAGE4_T | ( | name, | |
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_PAGE6 | ( | name, | |
| row1, | |||
| row2, | |||
| row3, | |||
| row4, | |||
| row5, | |||
| row6 | |||
| ) |
| #define UI_PAGE6_T | ( | name, | |
| row1, | |||
| row2, | |||
| row3, | |||
| row4, | |||
| row5, | |||
| row6 | |||
| ) |
| #define UI_STICKYMENU | ( | name, | |
| items, | |||
| itemsCnt | |||
| ) | const UIMenuEntry * const name ## _entries[] PROGMEM = items;const UIMenu name PROGMEM = {2+128,0,itemsCnt,name ## _entries}; |
| #define UI_STRING | ( | name, | |
| text | |||
| ) | const char PROGMEM name[] = text |
| #define UI_WIZARD2 | ( | name, | |
| action, | |||
| row1, | |||
| row2 | |||
| ) |
| #define UI_WIZARD2_T | ( | name, | |
| action, | |||
| row1, | |||
| row2 | |||
| ) |
| #define UI_WIZARD4 | ( | name, | |
| action, | |||
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_WIZARD4_T | ( | name, | |
| action, | |||
| row1, | |||
| row2, | |||
| row3, | |||
| row4 | |||
| ) |
| #define UI_WIZARD5_T | ( | name, | |
| action, | |||
| row1, | |||
| row2, | |||
| row3, | |||
| row4, | |||
| row5 | |||
| ) |
| typedef const UIMenuEntry_s UIMenuEntry |
| const int8_t encoder_table [16] PROGMEM |
| UIDisplay uid |